﻿@model GameSchoolApplication.Models.examQuestionOption

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>QOption</legend>
        @Html.HiddenFor(model => model.optionNo);

        <div class="editor-label">
            <label>Valmöguleiki</label>
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.optionValue)
            @Html.ValidationMessageFor(model => model.optionValue)
        </div>

        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

